<template>
	<div
	  class="site-wrapper"
	  element-loading-text="拼命加载中">
	  <template v-if="!loading">
	    <div>
	    <FoodCom @closeDia="closeDia" ref="FoodShowRef"></FoodCom>
	    </div>
	  </template>
	</div>
</template>

<script>
	import FoodCom from "./FoodComponent";
	export default{
		components:{
			FoodCom
		},
		data(){
			return{

			}
		},
		methods:{
      init(info){
        this.$nextTick(() => {
          this.$refs.FoodShowRef.init(info)
        })

      },

      closeDia(){
        this.$emit("closeDialog")
      },
		}
	}
</script>

<style>
</style>
